// @flow

import React from "react";

const path = (
  <>
    <path
      fill="currentColor"
      d="m1085.1 267.76v-110.55c0-7.85 3.74-12.45 9-12.21l-144.56-80.23a33.93 33.93 0 0 1 10.11 23.23v110.55z"
    />
    <path
      fill="currentColor"
      d="m1336 406.28v-110.55c0-7.18 3.14-11.6 7.67-12.14l-141.41-78.52a34.34 34.34 0 0 1 8.29 21.4l-0.07 110.53z"
    />
    <polygon
      fill="currentColor"
      transform="translate(206.55 -4.4141e-6)"
      points="1254.9 715.08 1167.2 814.98 627.52 515.62 627.52 368.78"
    />
    <path
      fill="currentColor"
      d="m332.03 295.73v110.55l125.52-69.28v-110.55c0-10.18 6.24-21.87 13.94-26.12l97.6-53.87c7.7-4.25 13.94 0.55 13.94 10.73v110.55l125.52-69.24v-110.55c0-10.18 6.24-21.87 13.94-26.12l111.58-61.83-0.11 18.69 0.11 350.09-627.41 346.3-0.11-350.08c0-10.18 6.24-21.87 13.94-26.12l97.59-53.88c7.7-4.25 13.95 0.55 13.95 10.73z"
    />
    <path
      fill="currentColor"
      d="m1175.8 1193.4 2.8-121.54c1.28-55.46-31.41-116.37-72.65-135.34-41.24-19-76 10.88-77.3 66.34l-2.8 121.54z"
    />
    <path
      fill="currentColor"
      d="m294.46 814.91q1.86 205.53 76.34 387.56 67.47 166.41 186.66 290.1 107.94 114.69 236.09 166.43a98.88 98.88 0 0 0 40.48 9v-1152.4z"
    />
  </>
);

const Donjon = ({ size }: { size: number }) => (
  <svg viewBox="0 0 1668 1668" width={size}>
    {path}
  </svg>
);

export default Donjon;
